package cn.edu.thu.laud.jdbc;

import java.io.IOException;
import java.sql.SQLException;

public interface FileTransfer {
	/**
	 * save Blob into a file/folder.
	 * <br> if this column type is Sblob, the data will save into a file whose path is assigned filePath.
	 * <br> if this column type is hblob/lblob,the data will save into a folder whose path is assigned filePath.
	 * because hblob/lblob has folder level and file name itself while sblob not.
	 * @param columnLabel
	 * @param filePath
	 * @throws SQLException
	 */
	public void saveBlob(String columnLabel,String filePath) throws  SQLException,IOException;
}
